package com.crm.service.csd.customerManager;

import com.crm.model.vo.csd.customerManager.ContractAndOrderVO;
import com.crm.model.vo.customerContractManager.CustomerContractVO;

import java.util.List;

/**
 * @author yincuimei
 * @Date 2021/8/26 16:10
 * (客服部)合同&订单
 */
public interface ContractAndOrderDbService {

    /**
     * 合同列表(合同为主)
     * @param customerId  --客户ID
     * @param orderStr    --排序
     * @author yincuimei
     * @return
     */
    List<ContractAndOrderVO> selectContractVOList(String customerId,String orderStr);

    /**
     * 订单列表(订单为主)
     * @param customerId  --客户ID
     * @param orderStr    --排序
     * @author yincuimei
     * @return
     */
    List<ContractAndOrderVO> selectOrderVOList(String customerId,String orderStr);

    Boolean addCustomerContract(CustomerContractVO customerContractVO);
}
